﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ManageVersionControl.ascx.vb" Inherits="WebForm_ManageVersionControl_ManageVersionControl" %>
<div style="background-color: #351D26">
    <fieldset id="plDivision" style="border-color: #4E333B" runat="server">
        <legend class="white2">
            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:plDivision.GroupingText%>" />
        </legend>
        <table width="50%" cellpadding="1" cellspacing="1">
            <tr>
                <td align="right">
                    <asp:Label ID="lblUploadType" runat="server" meta:resourcekey="lblUploadType"></asp:Label>
                </td>
                <td align="left" colspan="5">
                    <asp:DropDownList ID="ddlUploadType" AutoPostBack="true" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblVersion" runat="server" meta:resourcekey="lblVersion"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlVersion" AutoPostBack="true" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblDivision" runat="server" meta:resourcekey="lblDivision"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlDivision" runat="server" AutoPostBack="true">
                    </asp:DropDownList>
                </td>
                <td align="right">
                    <asp:Label ID="lblSignature" runat="server" meta:resourcekey="lblSignature"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlSignature" runat="server" />
                </td>
                <td align="right"></td>
                <td align="left">
                    <asp:Button ID="btnSearch" runat="server" meta:resourcekey="btnSearch" />
                </td>
            </tr>
        </table>
    </fieldset>
    <fieldset id="plList" visible="false" style="border-color: #4E333B" runat="server">
        <legend class="white2">
            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:plList.GroupingText%>" />
        </legend>
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td width="95%" align="center">
                    <My:MyGridView ID="gv" runat="server" SkinID="pager" AllowPaging="True" meta:resourcekey="gv" DataKeyNames="Signature">
                        <Columns>
                            <asp:BoundField DataField="Division" meta:resourcekey="gvDivision" />
                            <asp:BoundField ItemStyle-HorizontalAlign="Left" DataField="SignatureText" meta:resourcekey="gvSignature" />
                            <asp:TemplateField meta:resourcekey="gvLock">
                                <ItemTemplate>
                                    <asp:Button ID="btnLock" runat="server" Text="<%$ Resources:Lock%>" Visible='<%# Bind("IsLock") %>' CommandName="Lock" />
                                    <asp:Button ID="btnUnlock" runat="server" Text="<%$ Resources:Unlock%>" Visible='<%# Bind("IsUnLock") %>' CommandName="UnLock" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField meta:resourcekey="gvGenerate">
                                <ItemTemplate>
                                    <asp:Button ID="btnGenerate" runat="server" Text="<%$ Resources:Generate%>" Visible='<%# Bind("DisplayG") %>' CommandName="Generate" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </My:MyGridView>

                </td>
            </tr>
        </table>
    </fieldset>
</div>
